module.exports = {
  devServer: {
    open: true,
    // 配置代理
    proxy: {
        // /weChat/applet/course/banner/list?number=5"
        // http://wkt.myhope365.com/weChat/applet/course/banner/list?number=5"
        "/api": {
            target: "http://wkt.myhope365.com",
            changeOrigin: true,
            pathRewrite: {
                '^/api': ''
            }
        }
    },

  },
  // 改变主题色
    css: {
      loaderOptions: {
        less: {
          lessOptions: {
            
            // If you are using less-loader@5 please spread the lessOptions to options directly
            modifyVars: {
              'primary-color': '#1DA57A',
              'link-color': '#1DA57A',
              'border-radius-base': '2px',
            },
            javascriptEnabled: true,
          },
        },
      },
    },
  };